package com.purchase.order.service;

import com.purchase.common.core.domain.AjaxResult;
import com.purchase.order.domain.MaterialType;

import java.util.List;

public interface IMaterialService {

    //添加物资大类
    void addMaterial(String name);

    //修改物资信息
    void putMaterial(String id,String name);

    //删除物资信息
    void deleteMaterial(String id);

    //获取物资列表
    List<MaterialType> getMaterial(String name);

    List<MaterialType> getAll();
}
